#!/usr/bin/bash
pandoc --pdf-engine=xelatex \
--variable "geometry=left=2cm,right=2cm,top=2.5cm,bottom=2.5cm" \
--variable monofont="Fira Mono" \
--variable fontsize=12pt \
--variable version=2.0 \
-V papersize:a4 \
-V toc-title:"目录" \
-V colorlinks \
-V urlcolor=NavyBlue \
-V indent=2em \
-F mermaid-filter \
--highlight-style tango \
--toc \
--toc-depth=4 \
--number-sections \
$1 -o $(basename $1 .md).pdf;
# -V CJKmainfont="WenQuanYi Micro Hei" \
# -H /home/ubu/.scripts/template.tex \

# --variable mainfont="Palatino" \